@import "~pc/styles/lib_var.less";
@import "~pc/styles/lib_mixins.less";

.cellCreatedBy {
  display: flex;
  max-width: 100%;
  overflow: hidden;
  white-space: pre;
  align-content: flex-start;
  padding: 3px 10px;
  flex-grow: 1;
}

.unitItemWrapper {
  width: 100%;
  display: flex;
  height: 24px;
  max-width: 100%;
  align-items: center;
}

.unitBase {
  display: flex;
  background-color: var(--lowestBg);
  align-items: center;
}

.unitName {
  line-height: 17px;
  padding: 2px 4px;
  .ellipsis();
}

.unitMember {
  .unitBase();
  margin: 1px 4px 1px 0;
  padding: 0 8px 0 1px;
  max-width: 100%;
  border-radius: 16px;
}

.minWidth {
  &>div:first-of-type {
    max-width: calc(100% - 36px) !important;
  }
}